# coding: utf-8
from PySide6.QtCore import QObject, QTranslator


class Translator(QTranslator):

    def __init__(self, parent=None):
        super().__init__(parent=parent)
        # 主界面
        self.title = self.tr("Test Tools")
        self.settings = self.tr("Settings")

        # 模拟器设置界面
        self.InterfaceEmulatorLaunchTool = self.tr("EmulatorLaunchTool")

        # 设置界面
        self.Setting = self.tr("Setting")
        self.personalization = self.tr("Personalization")
        self.Language = self.tr("Language")
        self.choice_language = self.tr("Choice Language")
        self.Light = self.tr("Light")
        self.Dark = self.tr("Dark")
        self.ApplicationTheme = self.tr("Application theme")
        self.ApplicationThemeMSG = self.tr("Change the appearance of your application")
        self.ThemeAuto = self.tr("Use system setting")
        self.LanguageAuto = self.tr("Use system setting")
        self.MicaEffect = self.tr("Mica effect")
        self.AllTranslucent = self.tr("Apply semi transparent to windows and surfaces")
        self.UpdateSuccess = self.tr("Updated successfully")
        self.UpdateSuccessMsg = self.tr("Configuration takes effect after restart")
        # 模拟器界面
        self.basicInput = self.tr("场面模拟工具助手")
        self.CheckJavaENV = self.tr("check Java Environment")
        self.Check = self.tr("Check")
